import { OccType } from "core/typeDefine/typeDefine";

export default {
    maxLvl: 150,
    list: [
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        { 1: 4, 2: 2, 3: 0 },
        // { 1: 4, 2: 2, 3: 0 },
        // { 1: 4, 2: 1, 3: 0 },
    ],
    nodeTypeLvl: [
        3, 2, 2, 2, 2, 3,
        2, 2, 2, 2, 2, 2,
        2, 1, 1, 1, 1, 2,
        2, 1, 0, 0, 1, 2,
        2, 1, 0, 0, 1, 2,
        2, 1, 1, 1, 1, 2,
        2, 2, 2, 2, 2, 2,
        3, 2, 2, 2, 2, 3,
    ],
    listData: [
        ["maxHpPer", "maxHpPer", "antiBreakDefRate", "critRate", "speedPer", "speedPer"],
        ["maxHpPer", "blockRate", "antiCritRate", "breakDefRate", "skillHurtPer", "speedPer"],
        ["antiSkillHurtPer", "maxHpPer", "maxHpPer", "speedPer", "speedPer", "critHurtPer"],
        ["antiCritHurtPer", "maxHpPer", "maxHpPer", "speedPer", "speedPer", "antiBlockRate"],
        ["antiBlockRate", "attackPer", "attackPer", "defPer", "defPer", "antiCritHurtPer"],
        ["critHurtPer", "attackPer", "attackPer", "defPer", "defPer", "antiSkillHurtPer"],
        ["attackPer", "skillHurtPer", "breakDefRate", "antiCritRate", "blockRate", "defPer"],
        ["attackPer", "attackPer", "critRate", "antiBreakDefRate", "defPer", "defPer"],
    ],
    listType: {
        0: ["attack", "maxHp", "speed", "def"],
        1: ["attack", "maxHp", "speed", "def", "critRate", "antiCritRate", "critHurtPer", "antiCritHurtPer",
            "skillHurtPer", "antiSkillHurtPer", "breakDefRate", "antiBreakDefRate", "blockRate", "antiBlockRate"],
        2: ["attack", "maxHp", "speed", "def", "critRate", "antiCritRate", "critHurtPer", "antiCritHurtPer",
            "skillHurtPer", "antiSkillHurtPer", "breakDefRate", "antiBreakDefRate", "blockRate", "antiBlockRate"],
        3: ["attackPer", "maxHpPer", "defPer", "critRate", "critHurtPer", "scritRate",
            "skillHurtPer", "recoverHpPer", "dodgeRate", "hitRate", "attackSpeed", "attackMp", "recoverMp", "doubleAttack"],
    },
    attrisList: [
        "attackPer", "maxHpPer", "speedPer", "defPer",
        "attackPer", "maxHpPer", "speedPer", "defPer", "critRate", "antiCritRate", "critHurtPer", "antiCritHurtPer",
        "skillHurtPer", "antiSkillHurtPer", "breakDefRate", "antiBreakDefRate", "blockRate", "antiBlockRate",

        "attackPer", "maxHpPer", "speedPer", "defPer", "critRate", "antiCritRate", "critHurtPer", "antiCritHurtPer",
        "skillHurtPer", "antiSkillHurtPer", "breakDefRate", "antiBreakDefRate", "blockRate", "antiBlockRate",

        "attackPer", "maxHpPer", "speedPer", "defPer", "critRate", "antiCritRate", "critHurtPer", "antiCritHurtPer",
        "skillHurtPer", "antiSkillHurtPer", "breakDefRate", "antiBreakDefRate", "blockRate", "antiBlockRate"
    ],
    attriValue: {
        "critRate": [1, 0.3],
        "antiCritRate": [1, 0.3],
        "critHurtPer": [1, 0.3],
        "antiCritHurtPer": [1, 0.3],
        "skillHurtPer": [1, 0.3],
        "antiSkillHurtPer": [1, 0.3],
        "breakDefRate": [1, 0.3],
        "antiBreakDefRate": [1, 0.3],
        "blockRate": [1, 0.3],
        "antiBlockRate": [1, 0.3],

        "attackPer": [1, 0.5],
        "maxHpPer": [1, 0.5],
        "defPer": [1, 0.5],
        "speedPer": [1, 0.5],
    },
    attriValue2: {
        "attack": [2, 5, 10],
        "maxHp": [2, 5, 10],
        "def": [2, 5, 10],
        "speed": [2, 5, 10],
    },
    lvlupPoint: 1,
    talentNodePoint: {
        0: 1,
        1: 1,
        2: 1,
        3: 1,
    },
    talentNodeNeedPrePoint: {
        0: 0,
        1: 3,
        2: 5,
        3: 8,
    },
    talentNodeMaxLvl: {
        0: 5,
        1: 5,
        2: 5,
        3: 5
    },

    //神灵
    godAttriList: ['attack', 'maxHp', 'def', 'speed'],
    godAttriList2: ['critHurtPer', 'skillHurtPer', "recoverCurePer", "elitePer"],
    godAttriValue: {
        "critHurtPer": [0, 1],
        "skillHurtPer": [0, 1],

        "attackPer": [0, 1],
        "maxHpPer": [0, 1],
        "defPer": [0, 1],
        "speedPer": [0, 1],
    },
    godOccTypes: [OccType.Warrior, OccType.MainTank, OccType.Wizard, OccType.Archer, OccType.Assassin, OccType.Assistant],
    godLvlupPoint: 1,//升1级获得神灵点数
    godNodeLvlMax: 1000,//神灵格等级上限
    godLvlMax: 1000,//神灵等级上限
    lockGodNodeAmountMax: 15,//神灵格锁定数量上限
    godStrAmount: [6, 10],//神灵强化数量
    godStrLvlMax: 50,//神灵强化等级上限
    godStrUpPer: 2,//强化提升的百分比
    godNodeTypeLvl: [
        1, 1, 1, 1, 1,
        1, 0, 0, 0, 1,
        1, 0, 0, 0, 1,
        1, 0, 0, 0, 1,
        1, 1, 1, 1, 1,
    ],
    godIndexs: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24],
    godNodeAmountMaxOfOneOcc: 5,//单职业神格数量上限
}